﻿namespace Zinnia.Lite.Core
{
    /// <summary>
    /// XML序列化接口
    /// </summary>
    internal interface IXmlSerializerService
    {
        /// <summary>
        /// XML反序列化
        /// </summary>
        /// <param name="xml"></param>
        /// <returns></returns>
        object XmlDeserialize(string xml);
        /// <summary>
        /// XML序列化
        /// </summary>
        /// <param name="obj"></param>
        /// <returns></returns>
        string XmlSerialize(object obj);
    }
}
